﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Portal.Model;

namespace Portal.Logic.Creators
{
	/// <summary>
	/// Interface <see cref="IUserCreator"/> declare user creator
	/// </summary>
	public interface IUserCreator
	{
		/// <summary>
		/// Create user based on logon
		/// </summary>
		/// <param name="logon"></param>
		/// <returns></returns>
		IUser From(string logon);
	}
}
